<!--
 * @Author: your name
 * @Date: 2021-11-17 09:59:30
 * @LastEditTime: 2022-07-11 13:11:57
 * @LastEditors: yan_hai_dong 891236760@qq.com
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \app\src\App.vue
-->
<template>
  <div id="app">
    <!-- <keep-alive :include="['ElLayout']"> -->
    <keep-alive :include="tags.map(({ parent_name }) => parent_name)">
      <router-view />
    </keep-alive>
  </div>
</template>
<script>
import { mapGetters } from "vuex";
export default {
  computed: {
    ...mapGetters(["tags"]),
  },
};
</script>

<style lang="less">
</style>
